import Vue from 'vue'
import Router from 'vue-router'
import home from "../components/Home";
import updatePage from "../components/page/updatePage";
import VueCookies from 'vue-cookies';

Vue.use(VueCookies)
Vue.use(Router)

window.$cookies.config('30d');

export default new Router({
  routes:[
    {
      path: '/',
      component: home
    },
    {
      path: '/updatePage',
      component: updatePage
    }
  ]

})
